﻿namespace Sidvall.CodeGenerator
{
	public class DomainObjectRelationPropertyCollection : System.Collections.ObjectModel.Collection<DomainObjectProperty>
	{
		#region Business Members

		#region ClearCache

		public void ClearCache()
		{
			foreach (var item in this)
				item.ClearCache();
		}

		#endregion
		#region Import

		public void Import(System.Collections.Generic.IEnumerable<DomainObjectProperty> items)
		{
			if (items == null)
				return;

			foreach (var item in items)
				Add(item);
		}

		#endregion

		#endregion
		#region Constructors

		public DomainObjectRelationPropertyCollection()
		{
		}

		#endregion
	}
}
